<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="tag" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type"
	content="text/html; charset=windows-1251">

<link rel="stylesheet" href="<%=request.getContextPath()%>/resources/css/coda-slider.css" type="text/css" />
<body>
	<div class="details">
		<c:choose>
			<c:when test="${not empty administrator}">
				<h2>
					<tag:message code="headers.adminHeaderDetails" />
				</h2>
				<tag:message code="administrator.username" /> : ${administrator.username}<br />
				<tag:message code="administrator.name" /> : ${administrator.name}<br />
				<tag:message code="administrator.surname" /> : ${administrator.surname}<br />
				<tag:message code="administrator.emailAdress" /> : ${administrator.emailAdress}<br />
				<tag:message code="administrator.numberOfFreeDays" /> : ${administrator.numberOfFreeDays}<br />
				<tag:message code="administrator.telephoneNumber" /> : ${administrator.telephoneNumber}<br />
				<tag:message code="administrator.lastLogin" /> : ${administrator.lastLogin}<br />
			</c:when>
			<c:otherwise> Can't find administrator </c:otherwise>
		</c:choose>
	</div>
</body>